Problem Note 37576: The PAGE option in a DEFINE statement in PROC REPORT is ignored when routing output to ODS
When a PAGE option is requested in a DEFINE statement and a BREAK statement in PROC REPORT and the output is routed to an ODS destination, PROC REPORT ignores the PAGE option in the DEFINE statement and prints out all of the observations. The observations are from the variables listed up to the PAGE option variable. Once all of the observations are printed for the first grouping, all of the observations for the next grouping then print. This is a change in behavior from previous releases of SAS. The Listing output is correct.
To circumvent the problem, subset the data and print each page of output with a separate PROC REPORT step.
Operating System and Release Information
SAS System | Base SAS | Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS1M0 | 9.3 TS1M0 |
z/OS | 9.2 TS1M0 | 9.3 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS1M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS1M0 | 9.3 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.2 TS1M0 | 9.3 TS1M0 |
Microsoft® Windows® for x64 | 9.2 TS1M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS1M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS1M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS1M0 | 9.3 TS1M0 |
Microsoft Windows XP Professional | 9.2 TS1M0 | 9.3 TS1M0 |
Windows Vista | 9.2 TS1M0 | 9.3 TS1M0 |
64-bit Enabled AIX | 9.2 TS1M0 | 9.3 TS1M0 |
64-bit Enabled HP-UX | 9.2 TS1M0 | 9.3 TS1M0 |
64-bit Enabled Solaris | 9.2 TS1M0 | 9.3 TS1M0 |
HP-UX IPF | 9.2 TS1M0 | 9.3 TS1M0 |
Linux | 9.2 TS1M0 | 9.3 TS1M0 |
Linux for x64 | 9.2 TS1M0 | 9.3 TS1M0 |
OpenVMS on HP Integrity | 9.2 TS1M0 | 9.3 TS1M0 |
Solaris for x64 | 9.2 TS1M0 | 9.3 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
When routing output to an ODS destination, the PAGE option in the PROC REPORT DEFINE statement is ignored.
Type: | Problem Note |
Priority: | high |
Topic: | SAS Reference ==> Procedures ==> REPORT SAS Reference ==> ODS (Output Delivery System)
|
Date Modified: | 2009-11-12 11:10:05 |
Date Created: | 2009-10-23 16:56:56 |